import fetch from '@/requests/fetch'

export const loginApi = (data) => fetch('post', '/loginBySys', data) // 登录

export const userInfoApi = (data) => fetch('get', '/getInfo', data) // 获取用户信息
//上传图片
export const uploadImgApi = (data) => fetch('post', '/common/oss/upload', data, 'UPLOAD')
